//
//  SellerSettingTableViewCell.m
//  SmartCoin
//
//  Created by apple on 2018/3/8.
//  Copyright © 2018年 Cynic. All rights reserved.
//

#import "SellerSettingTableViewCell.h"

@implementation SellerSettingTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
}
/**
 @property (nonatomic ,retain)UIImageView *icon;
 @property (nonatomic ,retain)UILabel *operationlabel;
 @property (nonatomic ,retain)UILabel *restlabel;
 */
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    _icon = [[UIImageView alloc] initWithFrame:CGRectMake(14, 18, 18, 18)];
    _operationlabel = [[UILabel alloc] initWithFrame:CGRectMake(44, 17, 100, 21)];
    _restlabel = [[UILabel alloc] initWithFrame:CGRectMake(cx_wid - 12 - 70, 17, 70, 21)];
    _restlabel.textAlignment = NSTextAlignmentRight;
    _operationlabel.textColor = [UIColor blackColor];
    _operationlabel.font = [UIFont systemFontOfSize:15];
    _restlabel.textColor = [CXSinglerModel colorWithHex:@"#9B9B9B" alpha:1];
    _restlabel.font = [UIFont systemFontOfSize:15];
    
    [self.contentView addSubview:_icon];
    [self.contentView addSubview:_restlabel];
    [self.contentView addSubview:_operationlabel];
    
    UIView *layerView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, cx_wid, 0.5)];
    layerView.backgroundColor = [UIColor lightGrayColor];
    [self.contentView addSubview:layerView];
     return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
